package com.mar.bt.server.impl;

import net.java.dev.marge.entity.ServerDevice;
import net.java.dev.marge.factory.CommunicationFactory;
import net.java.dev.marge.factory.RFCOMMCommunicationFactory;

import com.mar.bt.server.IBluetoothIOHandler;

/**
 * RFCOMM Server.
 * @author mar
 *
 */
public class RFCOMMBluetoothServer extends BluetoothServer {

	@Override
	protected CommunicationFactory createCommunicationFactory() {
		return new RFCOMMCommunicationFactory();
	}
	
	@Override
	protected IBluetoothIOHandler createBTIOHandler(ServerDevice serviceDevice){
		return new BluetoothIOHandler(serviceDevice);
	}
}
